package com.broada.apm.template.model;

import com.broada.apm.model.Dimension;
import com.broada.apm.template.RuleMatchEstimate;

/**
 * 维度规则
 * @author jianfei.xu
 * @date   2016年3月17日
 *
 */
public class DimensionRule<T extends Dimension> {
	/*
	 * 维度实体类
	 */
	private T entity;
	
	/*
	 * 匹配规则
	 */
	private RuleMatchEstimate ruleMatchEstimate;

	public DimensionRule(T entity, RuleMatchEstimate ruleMatchEstimate) {
		super();
		this.entity = entity;
		this.ruleMatchEstimate = ruleMatchEstimate;
	}

	public T getEntity() {
		return entity;
	}

	public void setEntity(T entity) {
		this.entity = entity;
	}

	public RuleMatchEstimate getRuleMatchEstimate() {
		return ruleMatchEstimate;
	}

	public void setRuleMatchEstimate(RuleMatchEstimate ruleMatchEstimate) {
		this.ruleMatchEstimate = ruleMatchEstimate;
	}
	
}
